﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace DownLoad.Helpers
{
    public class MessageBoxHelper
    {
        private static readonly string Caption;
        static MessageBoxHelper()
        {
            Caption = "软件温馨提示!";
        }
        public static void ShowInfo(string messageBoxText)
        {
            MessageBox.Show(messageBoxText,Caption,MessageBoxButton.OK,MessageBoxImage.Information);
        }
        public static void ShowError(string messageBoxText)
        {
            MessageBox.Show(messageBoxText,Caption,MessageBoxButton.OK,MessageBoxImage.Error);
        }
        public static void ShowWarning(string messageBoxText)
        {
            MessageBox.Show(messageBoxText,Caption,MessageBoxButton.OK,MessageBoxImage.Warning);
        }
    }
}
